package com.offcn.sellergoods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.lang.Long;
import java.lang.String;
import java.lang.Integer;

/**
 * 选项表
 * @Author:ujiuye
 * @Description:SpecificationOption构建
 * @Date 2021/2/1 14:19
 *****/
@ApiModel(description = "SpecificationOption", value = "SpecificationOption")
@TableName(value = "tb_specification_option")
@Data
public class SpecificationOption implements Serializable {

    /**
     * 规格项ID
     */
    @ApiModelProperty(value = "规格项ID", required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    /**
     * 规格项名称
     */
    @ApiModelProperty(value = "规格项名称", required = false)
    @TableField(value = "option_name")
    private String optionName;

    /**
     * 规格ID
     */
    @ApiModelProperty(value = "规格ID", required = false)
    @TableField(value = "spec_id")
    private Long specId;

    /**
     * 排序值
     */
    @ApiModelProperty(value = "排序值", required = false)
    @TableField(value = "orders")
    private Integer orders;

}
